<?php thematic_create_doctype(); echo " "; language_attributes(); echo ">\n";?>
<head profile="http://gmpg.org/xfn/11">

<?php 
global $pods;
if(isset($pods->data['meta_title'])){ ?>
<title><?php echo ($pods->data['meta_title'].' | '.get_bloginfo('name')); ?></title>
<?php
} else {
// normal title code here
thematic_doctitle();
}
thematic_create_contenttype();
thematic_show_description();
//thematic_show_robots();
thematic_canonical_url();
thematic_create_stylesheet();
thematic_show_rss();
thematic_show_commentsrss();
thematic_show_pingback();
thematic_show_commentreply();
wp_head();
//start custom stylesheet embed
// Get the last parameter from the URI (which happens to be the ID)
$iscampaignpage=pods_url_variable(-2);
if ($iscampaignpage == 'deals'){
$id = pods_url_variable('last');
$Record = new Pod('deal', $id);
$theme=$Record->get_field('theme.name');
//end custom stylesheet embed
}
else
{
$theme='Default';
}
if ($theme!=='Default'){
?>
<link rel="stylesheet" type="text/css" href="http://buzzr.in/wordpress/wp-content/themes/street/buzzrthemes/<?php echo($theme); ?>.css" />
<?php
}
?>
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.5.3/jquery-ui.min.js" ></script>
<script type="text/javascript" src="http://buzzr.in/wordpress/wp-content/easyslider1.7/js/easySlider1.7.js"></script>
<!--slider script-->
<script type="text/javascript">
jQuery(document).ready(function($) {
    // $() will work as an alias for jQuery() inside of this function

	$(document).ready(function(){
		$("#featured > ul").tabs({fx:{opacity: "toggle"}}).tabs("rotate", 5000, true);
	});
});
</script>
<meta property="fb:admins" content="500296642" />


<?php
/*
<!-- KISSmetrics JS Code -->
<script type="text/javascript">
  var _kmq = _kmq || [];
  function _kms(u){
    setTimeout(function(){
      var s = document.createElement('script'); var f = document.getElementsByTagName('script')[0]; s.type = 'text/javascript'; s.async = true;
      s.src = u; f.parentNode.insertBefore(s, f);
    }, 1);
  }
  _kms('//i.kissmetrics.com/i.js');_kms('//doug1izaerwt3.cloudfront.net/9698e3c8662726ccf7b822ec00ca0683d238a045.1.js');
</script>
<!-- KISSmetrics JS Code -->
*/
?>
</head>

<body class="<?php thematic_body_class() ?>">
<? /*
<script type="text/javascript">
var $j = jQuery.noConflict();
</script>
<script type="text/javascript">
$j(document).ready(function(){ 
	$j("#slider").easySlider({
		prevText: 'Previous Slide',
		nextText: 'Next Slide',
		auto: true,
                controlsShow: true,
                speed: 1200,
                continuous: true
	});
});
</script>
<script type="text/javascript">
var $s = jQuery.noConflict();
</script>
<script type="text/javascript">
$s(document).ready(function(){ 
	$s("#slider2").easySlider({
		prevText: 'Previous Slide',
		nextText: 'Next Slide',
		auto: true,
                controlsShow: true,
                speed: 1200,
                continuous: true
	});
});
</script>
*/
?>
<?php thematic_before(); ?>
<div id="wrapper" class="hfeed">

<?php thematic_aboveheader(); ?>   

    <div id="header">
    <?php /*
if (isset($pods->data['headerlogo']))
{
remove_action('thematic_header','thematic_brandingopen',1);
remove_action('thematic_header','thematic_blogtitle',3);
remove_action('thematic_header','thematic_blogdescription',5);
remove_action('thematic_header','thematic_brandingclose',7);
//add custom logo for paid brands

echo('<div id="branding" class="customheader"><div id="logo-image" class="customheader"><img src="'.$pods->data['headerlogo'].'" /></div></div>');
}

$referer = $_SERVER['HTTP_REFERER'];
//echo($referer);
if ($referer == "") { //If not, set referrer as your domain
$domain = 'buzzr.in';
} else {
$domain = parse_url($referer); //If yes, parse referrer
//echo($domain[host]);
}
if ($iscampaignpage=='deals' && $domain[host] != 'buzzr.in'){
remove_action('thematic_header','thematic_access',9);
}
*/
?>
        <?php thematic_header() ?>
    </div><!-- #header-->
    
<?php thematic_belowheader(); ?>   

    <div id="main">
